$(function () {
    $("#supplierManagementList").gridTable({
        url: "org/pageOrg",
        columns: [
            {title: "供应商编号", field: "id"},
            {title: "供应商名称", field: "orgName"},
            {title: "开户银行", field: "bankName"},
            {title: "银行卡号", field: "bankCard"},
            {title: "税号", field: "bankCard"},
            {title: "联系人", field: "orgName"},
            {title: "联系电话", field: "bankCard"},
            {title: "地址", field: "address",format:function(){return "杭州市上城区新城大楼"}},
            {title: "营业执照", field: "bankCard"},
            {title: "供应商状态", field: "orgStatusStr"},
            {title: "创建时间", field: "createTime"}
        ],
        params: {orgType: 2},
        idField: "id",
        infoUrl: "manage/supplierManagementInfo.html",
        controls:{
                    edit:{
                        show:false
                    },
                    del:{
                        show:false
                    }
                }
    });
});